---
layout: default
---

div(class='container')
  div(class='sixteen columns posts')
    each post in getCollection('blogsandlinks').query({limit: 5}).toJSON()
      h1
        a(href=post.url)= post.title

      div(class='postdate')= moment(post.date).utc().format('DD MMMM, YYYY')
      //- != post.contentRenderedWithoutLayouts.split('<!--more-->',1)
      != marked(post.content).split('<!--more-->',1)

      if post.content.search('<!--more-->')>0
        a(href=post.url) continue...
  div(class='sixteen columns')
    h3 OLDER
    ul(class='postArchive')
      each post in getCollection('blogsandlinks').query({offset:5}).toJSON()
        li 
          span= moment(post.date).utc().format('DD MMMM, YYYY')
          a(class='postlink', href=post.url)= post.title
.container
  div(style="font-style:italic; font-size: 12px") This site was last updated at #{moment(site.date).utc().format('DD MMMM, YYYY')}